Skip to content

Kingrayhan/gist#87

Merged
kingRayhan merged 8 commits intomainfrom
kingrayhan/gist
Mar 29, 2026
Merged

Kingrayhan/gist#87
kingRayhan merged 8 commits intomainfrom
kingrayhan/gist

Conversation

@kingRayhan
Copy link
Copy Markdown
Member

No description provided.

- Changed authentication method to WorkOS as primary, with GitHub OAuth as a legacy fallback.
- Added new route for Gist browsing, creation, and viewing.
- Documented Gists as a key entity with associated tables in the database.
- Updated available repositories list to include 'gist' and 'gistFile'.
- Updated error handling in toggleResourceBookmark and myBookmarks functions to return exceptions instead of just logging them.
- Enhanced bookmarkStatus function to return a default value when an error occurs.
- Refactored reaction actions to utilize a constant for reaction types and added a helper function for empty reaction statuses.
- Introduced a type guard function `isBookmarksSuccess` to validate bookmark data structure.
- Updated pagination logic to ensure safe access to bookmark properties.
- Refactored item presence check to utilize the new type guard for better reliability.
- Improved state update in `ResourceBookmarkable` to ensure accurate bookmark status after mutation.
- Simplified the visibility check by consolidating conditions for public and private gists.
- Improved error handling to throw exceptions for missing gists and unauthorized access.
- Enhanced code readability by reducing redundancy in the gist retrieval process.
- Introduced a button to export Gist files as images using a Carbon-style format.
- Added a dialog component for handling image export, allowing users to preview and save Gist content as images.
- Integrated state management for the image export feature within the GistViewer component.
- Introduced a new button to copy the exported image directly to the clipboard.
- Refactored the image export logic to improve clarity and error handling.
- Enhanced user feedback during image export and copy operations with loading indicators.
…alog

- Introduced a footer section in the GistCodeImageDialog component.
- Added styling for the footer to enhance visual appearance and maintain consistency.
- Ensured the footer is accessible and does not interfere with user interactions.
- Updated CHANGELOG.md to document new features, bug fixes, and other changes for version 1.3.0.
- Bumped version number in package.json to 1.3.0.
- Added clipboard copy and image export functionalities to Gist components.
- Improved error handling in bookmark and reaction services.
- Refactored Gist retrieval and bookmarks handling for better performance and reliability.
@kingRayhan kingRayhan merged commit 62c0159 into main Mar 29, 2026
@kingRayhan kingRayhan deleted the kingrayhan/gist branch April 4, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant